package com.angel.application.querygateways;

import com.angel.application.dto.HelpInfosDTO;
import com.angel.infrastructure.db.mapper.HelpInfoMapper;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class HelpQueryService {

    private final HelpInfoMapper helpInfoMapper;

    public HelpQueryService(HelpInfoMapper helpInfoMapper) {
        this.helpInfoMapper = helpInfoMapper;
    }


    /**
     * 分页查询就自己写吧，我这里就不写了
     *
     * 复杂查询可以走queryService，简单查询直接UI层调用Mapper
     * @return
     */
    public List<HelpInfosDTO>  list() {

        return Collections.EMPTY_LIST;
    }

}
